package com.qys.livesMall.system.model.vo.sys;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class PlatformInfoVO implements Serializable {

    @Schema(description = "ID")
    private Long id;

    @Schema(description = "类型（0：短期 1：长期）")
    private Byte type;

    @Schema(description = "平台信息类型（0：公告 1：推送）")
    private Byte typeInfo;

    @Schema(description = "中文标题")
    private String chineseTitle;

    @Schema(description = "中文内容")
    private String chineseContent;

    @Schema(description = "英文标题")
    private String englishTitle;

    @Schema(description = "英文内容")
    private String englishContent;

    @Schema(description = "跳转链接")
    private String url;

    @Schema(description = "推送目标 1：用户  2：店铺   3：主播")
    private String target;

    @Schema(description = "推送目标，多个用英文逗号分隔")
    private String pushTarget;

    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+0")
    private LocalDateTime createTime;

    @Schema(description = "创建时间 -时间戳")
    private Long createlongtime;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

    @Schema(description = "创建人")
    private String createBy;

    @Schema(description = "更新人")
    private String updateBy;

}
